<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <link href="https://cdn.bootcss.com/semantic-ui/2.4.1/semantic.min.css" rel="stylesheet">
</head>

<body>
<!--头部导航栏-->
<nav class="navbar navbar-dark sticky-top bg-dark flex-md-nowrap p-0" th:fragment="topbar">
    <a class="navbar-brand col-sm-3 col-md-2 mr-0" style="color: white" th:href="@{/main}">欢迎您：[[${session.loginUser.getName()}]]</a>
    <!--			href="http://getbootstrap.com/docs/4.0/examples/dashboard/#"-->
    <input class="form-control form-control-dark w-100" type="text" placeholder="搜索" aria-label="搜索">
    <ul class="navbar-nav px-3">
        <li class="nav-item text-nowrap">
            <a class="nav-link" th:href="@{/user/logout}">注销</a>
        </li>
    </ul>
</nav>
<!--侧边栏-->
<nav class="col-md-2 d-none d-md-block bg-light sidebar" th:fragment="sidebar-sticky">
    <div class="sidebar-sticky">
        <ul class="nav flex-column">
            <li class="nav-item">
                <a class="nav-link" href="#">
                    <span data-feather="home"></span>
                    <span class="sr-only">(current)</span>
                </a>
            </li>
            <li class="nav-item">
                <a th:class="${active=='main'?'nav-link active':'nav-link'}" th:href="@{/main}">
                    <span data-feather="home"></span>
                    首页 <span class="sr-only">(current)</span>
                </a>
            </li>
            <li class="nav-item">
                <a th:class="${active=='dep_list'?'nav-link active':'nav-link'}" th:href="@{/department}">
                    <span data-feather="users"></span>
                    部门管理 <span class="sr-only">(current)</span>
                </a>
            </li>
            <li class="nav-item">
                <a th:class="${active=='list'?'nav-link active':'nav-link'}" th:href="@{/employee}">
<!--                    <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-users">-->
<!--                        <path d="M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path>-->
<!--                        <circle cx="9" cy="7" r="4"></circle>-->
<!--                        <path d="M23 21v-2a4 4 0 0 0-3-3.87"></path>-->
<!--                        <path d="M16 3.13a4 4 0 0 1 0 7.75"></path>-->
<!--                    </svg>-->
                    <i class="address card icon"></i>员工管理
                </a>
            </li>

            <li class="nav-item">
                <a class="nav-link" href="#">
                    <span data-feather="users"></span>
                    Customers
                </a>
            </li>
            <li class="nav-item">
                <a class="nav-link" href="#">
                    <span data-feather="bar-chart-2"></span>
                    Reports
                </a>
            </li>
            <li class="nav-item">
                <a class="nav-link" href="#">
                    <span data-feather="layers"></span>
                    Integrations
                </a>
            </li>
        </ul>



        </ul>
    </div>
</nav>
</body>
</html>